import https from '@/api/http.js'
import https5g from '@/api/http5g.js'
import httpsdong from '@/api/httpdong.js'
var http=https.http
var http5g=https5g.http
var httpdong = httpsdong.http;

// const request = '/example-api'
const request = ''
//验证码
export function postVerificationcodes(params){
    return httpdong.post(`/api/sms/send`,params)
}
//注册
export function register_weixin(params) {
    return httpdong.post(`${request}/api/user/mobileMerchantLogin`, params);
}
// 首页轮播图
export function getBanner(params){
    return http.get(`${request}/api/index/banner`)
}
//广告
export function getAd(params){
    return http.get(`${request}/api/index/ad`, params)
}
//广告收益
export function getAdProfit(params){
    return http.get(`${request}/api/share/day_info`,params)
}
//批零收益
export function getSellProfit(params){
    return http.get(`${request}/api/share/sale_info`)
}
//批零收益列表
export function getSellProfitList(params){
    return http.get(`${request}/api/share/sale_list`)
}
//礼包商品
export function getBagIdItem(params){
    return http.get(`${request}/api/bagitems/bagId=${params.bagId}`)
}
//礼包商品
export function getBagIdItem2(params){
    return http.get(`${request}/addons/shopro/goods/lists`, params)
}

//获取地址
export function getAdressManagesAPI(params){
    return http.get(`${request}/api/adressManages`,params)
}

//获取地址PHP
export function getAdressManagesAPI2(params){
    return http.get(`${request}/addons/shopro/address`,params)
}

//新增地址
export function postAdressManagesAPI(params){
    return http.post(`${request}/api/adressManages`,params)
}
//新增地址
export function postAdressManagesAPI2(params){
    return http.post(`${request}/addons/shopro/address/edit`,params)
}


//修改地址
export function putAdressManagesAPI(params){
    return http.put(`${request}/api/adressManages/${params.id}`,params)
}

//获取商品详情
export function getItems(params){
    return http.get(`${request}/api/items/${params.id}`)
}

//获取商品详情
export function getItems2(params){
    return http.get(`${request}/addons/shopro/goods/detail/?id=${params.id}`)
}


//获取总额
export function getSummary(params){
    return http.get(`${request}/api/accounts/userId=${params.userId}/summary`)
}

//获取总额列表
export function getAccountItems(params){
    return http.get(`${request}/api/accountitems`,params)
}

//奖池总奖励
export function getFttprofits(params){
    return http.get(`${request}/api/fttprofits`,params)
}

//分红记录
export function getFttuserprofits(params){
    return http.get(`${request}/api/fttuserprofits`,params)
}



//创建订单
export function createOrder(params){
    return http.post(`${request}/addons/shopro/order/createOrder`,params)
}

//微信支付
export function postWxAppPay(params){
    return http.post_t(`${request}/transaction/wxAppPay`,params)
}

//支付宝支付
export function postAlipay(params){
    return http.post_t(`${request}/transaction/alipay`,params)
}

//支付宝支付(新)
export function postAlipay2(params){
    return http.post(`${request}/api/pay/pay`,params)
}
//获取登录信息
export function postLogin(params){
    return http.post(`${request}/api/user/mobilelogin`,params)
}

//我的信息
export function getFttuserUserId(params){
    return http.get(`${request}/api/fttusers/userId=${params.userId}`)
}
//我的信息
export function getFttuserUserId2(params){
    return http.post(`${request}/addons/shopro/user`,params)
}

//我的团队
export function getReferralsummary(params){
    return http.get(`${request}/api/fttusers/userId=${params.userId}/referralsummary`)
}

//团队列表
export function getFttusers(params){
    return http.get(`${request}/api/fttusers`,params)
}

//团队列表
export function getFttusers2(params){
    return http.post(`${request}/api/share/getuser`,params)
}

//网体归属码
export function getFttusersReferralCode(params){
    return http.get(`${request}/api/fttusers/referralCode=${params.referralCode}`)
}

//网体归属提交
export function putFttusersParents(params){
    return http.put(`${request}/api/fttusers/userId=${params.userId}/parents`,params)
}

//开卡校验
export function putFttusersZjcard(params){
    return http.put(`${request}/api/fttusers/userId=${params.userId}/cardz`,params)
}

//订单列表
export function getOrders(params){
    return http.get(`${request}/api/orders`,params)
}

//订单列表
export function getOrders2(params){
    return http.get(`${request}/addons/shopro/order/index`,params)
}



//确认收货
export function putOrders(params){
    return http.put(`${request}/api/orders/${params.id}/received`)
}

//已自提
export function putselfWithdrawal(params){
    return http.put(`${request}/api/orders/${params.id}/selfWithdrawal`)
}

//分红大厅
export function getPartnerShares(params){
    return http.get(`${request}/api/PartnerShares`,params)
}

//排名
export function getRank(params){
    return http.get(`${request}/api/PartnerShares/${params.mobile}/rank`)
}

//图片
export function postImages(params){
    return http.post_t(`${request}/api/images`,params)
}
//图片
export function postImages2(params){
    return http.postImages(`${request}/api/common/upload`,params)
}
//5g 图片
export function postImages5G(params){
    return http5g.postImages(`${request}/api/common/upload`,params)
}
//获取实名认证
export function getMemberidcards(params){
    return http.get(`${request}/api/memberidcards/userId=${params.userId}`)
}

//修改实名认证
export function putMemberidcards(params){
    return http.put(`${request}/api/memberidcards/${params.id}`,params)
}

//提交实名认证
export function putRealname(params){
    return http.post(`${request}/api/user/realname`,params)
}

//获取银行卡
export function getMemberbankcards(params){
    return http.get(`${request}/api/memberbankcards`,params)
}

//添加银行卡
export function postMemberbankcards(params){
    return http.post(`${request}/api/memberbankcards`,params)
}

//获取银行卡信息
export function getMemberbankcardsId(params){
    return http.get(`${request}/api/memberbankcards/${params.id}`)
}

//修改银行卡信息
export function putMemberbankcardsId(params){
    return http.put(`${request}/api/memberbankcards/${params.id}`,params)
}



//到账
export function postwithdraws(params){
    return http.post(`${request}/api/withdraws`,params)
}
//到账2
export function postwithdraws2(params){
    return http.post(`${request}/api/user/withdraw`,params)
}
//获取到账列表
export function getwithdraws(params){
    return http.get(`${request}/api/withdraws`,params)
}


//周分红
export function getFtts(params){
    return http.get(`${request}/api/ftts/summary`,params)
}

//获取userId排位
export function gePartnerSharescountMoney(params){
    return http.get(`${request}/api/PartnerShares/${params.mobile}/countMoney`)
}

//转帐
export function postTransfer(params){
    return http.post(`${request}/api/accounts/transfer`,params)
}
//获取用户基本信息
export function getuserInfo(params) {
    return http.post(`${request}/api/share/getuser`, params);
}

//获取我的提货券
export function myCouponLists(params) {
    return http.post(`${request}/api/coupon/lists`, params);
}

//获取我的提货券2
export function myCouponLists2(params) {
    return http.post(`${request}/api/coupon/lists_sum`, params);
}

//转增接口
export function couponIncrease(params) {
    return http.post(`${request}/api/coupon/increase`, params);
}


//核销接口
export function couponWriteoff(params) {
    return http.post(`${request}/api/coupon/writeoff`, params);
}

//我的市场/获取部门信息
export function getDepartment(params) {
    return http.post(`${request}/api/share/get_department`, params);
}


//获取我的信息
export function getCardinfo(params) {
    return http.get(`${request}/api/user/cardinfo`, params);
}


//获取部门经理列表
export function get_depar_list(params) {
    return http.post(`${request}/api/share/get_depar_list`, params);
}

//绑定银行卡
export function bindBank(params) {
    return http.post(`${request}/api/user/bindBank`, params);
}

//获取银行卡列表
export function bankList(params) {
    return http.get(`${request}/api/bank/list`, params);
}

//获取奖金池
export function getStatistics(params) {
    return http.post(`${request}/api/share/statistics`, params);
}

//获取奖金池
export function withdrawlist(params) {
    return http.post(`${request}/api/user/withdrawlist`, params);
}

//获取我的金额
export function getmoney(params) {
    return http.post(`${request}/api/share/getmoney`, params);
}

//第三方核销
export function orderWriteoff(params) {
    return http.post(`${request}/api/order/writeoff`, params);
}

//第三方核销
export function orderConfirm(params) {
    return http.post(`${request}/api/coupon/confirm`, params);
}

//中军值转赠
export function scoreSubgift(params) {
    return http.post(`${request}/api/coupon/score_subgift`, params);
}

//中军值兑换
export function exchangeCoupon(params) {
    return http.post(`${request}/api/coupon/exchange_coupon`, params);
}


//中军值兑换
export function exchangeLog(params) {
    return http.post(`${request}/api/coupon/exchangeLog`, params);
}



//中军值兑换
export function exchangeCouponList(params) {
    return http.post(`${request}/api/coupon/coupon_list`, params);
}


//中军值体现
export function scoreWithdrawal(params) {
    return http.post(`${request}/api/coupon/score_withdrawal`, params);
}


//注册
export function register(params) {
    return http.post(`${request}/api/user/register`, params);
}
//登录
export function login(params) {
    return http.post(`${request}/api/user/login`, params);
}

//重置密码
export function resetpwd2(params) {
    return http.post(`${request}/api/user/resetpwd2`, params);
}

//忘记密码
export function resetpwd(params) {
    return http.post(`${request}/api/user/resetpwd`, params);
}

//申请售后
export function orderAftersale(params) {
    return http.post(`${request}/addons/shopro/order_aftersale/aftersale`, params);
}

//售后详情
export function orderAfterDetail(params) {
    return http.get(`${request}addons/shopro/order_aftersale/detail`, params);
}


//申请售后
export function orderAfterCancel(params) {
    return http.post(`${request}addons/shopro/order_aftersale/cancel`, params);
}

//转赠验证码
export function score_send(params) {
    return http.post(`${request}/api/sms/score_send`, params);
}

//转赠人员验证
export function verify_mobile(params) {
    return http.post(`${request}/api/coupon/verify_mobile`, params);
}

//转赠记录
export function my_score_log(params) {
    return http.post(`${request}/api/coupon/my_score_log`, params);
}
// 注销
export function cancellation(params) {
    return http.post(`${request}/api/user/cancellation`, params);
}
// 分享记录
export function directLists(params) {
    return http.post(`${request}/api/share/direct_lists`, params);
}
// 修改头像
export function editAvatar(params) {
    return http.post(`${request}/api/user/re_avatar`, params);
}
// 现金支付和中军值
export function moneyAndScroePay(params) {
    return http.post(`${request}/api/order/order_add`, params);
}
// 订单转户
export function changeUser(params) {
    return http.post(`${request}/api/order/order_transfer`, params);
}

// 分享设置
export function inviteSetting(params) {
    return http.post(`${request}/api/user/parent_mobile`, params);
}

// 业绩
export function getAchievement(params) {
    return http.post(`${request}/api/share/getuser`, params);
}


// 广告收益
export function getAdvertisingRevenue(params) {
    return http.post(`${request}/api/share/advertising_revenue`, params);
}

// 批发零售收益
export function getProfitStatistics(params) {
    return http.post(`${request}/api/share/profit_statistics`, params);
}
// 转户 /更换手机号
export function changemobile(params) {
    return http.post(`${request}/api/user/changemobile`, params);
}

// 我要退货
export function iReturnGoods(params) {
    return http.post(`${request}/api/old_order/list`, params);
}

// 申请退货2
export function applyReturnGoods(params) {
    return http.post(`${request}/api/old_order/refund`, params);
}
// 余额转兑
export function changeBalance(params) {
    return http.post(`${request}/api/coupon/money_coupon`, params);
}
// 新的我要退货
export function iwant2return(params) {
    return http.post(`${request}/api/user/adduser`, params);
}
// 新的我要退货2
export function iwant2returnDel(params) {
    return http.post(`${request}/api/user/deluser`, params);
}
// 联创伙伴收益统计
export function madeTogehter(params) {
    return http.post(`${request}/api/share/get_goods_reward`, params);
}
// 互助金明细
export function helpTogetherDeatil(params) {
    return http.get(`${request}/api/share/getMutualList`, params);
}
// 中军值记录
export function scoreRecord(params) {
    return http.post(`${request}/api/share/user_score_log`, params);
}
// 余额记录
export function balanceRecord(params) {
    return http.post(`${request}/api/share/user_money_log`, params);
}
// 余额转赠
export function balance2Other(params) {
    return http.post(`${request}/api/share/price_subgift`, params);
}
// 提货券转赠记录
export function exaExchangeRecord(params) {
    return http.post(`${request}/api/coupon/exchange_log`, params);
}
// 订单详情
export function geOrderDetail(params) {
    return http.get(`${request}/addons/shopro/order/detail`, params);
}
// 订单取消
export function cancelOrderApi(params) {
    return http.post(`${request}/addons/shopro/order/cancel`, params);
}
// 支付发送短信
export function paySend(params) {
    return http.post(`${request}/api/pay/smspay`, params);
}
// 二维码支付
export function qrPay(params) {
    return http.post(`${request}/api/pay/payinfo`, params);
}
// 修改个人资料
export function editUserInfo(params) {
    return http.post(`${request}/api/user/edit_profile`, params);
}
// 收货地址列表
export function getReceiptList(params) {
    return http.post(`${request}/addons/shopro/address`, params);
}
// 新增收货地址
export function addReceipt(params) {
    return http.post(`${request}/addons/shopro/address/edit`, params);
}
// 删除收货地址
export function delReceipt(params) {
    return http.post(`${request}/addons/shopro/address/del`, params);
}
// 修改收货地址
export function editReceipt(params) {
    return http.post(`${request}/addons/shopro/address/edit`, params);
}
// 默认收货地址
export function setDefultReceipt(params) {
    return http.post(`${request}/addons/shopro/address/set_default`, params);
}
// 公告列表
export function getNoticeList(params) {
    return http.post(`${request}/api/notice/notice_list`, params);
}
// 公告详情
export function getNoticeDetail(params) {
    return http.post(`${request}/api/notice/notice_deit`, params);
}
// 易支付显示
export function getYiPayStatu(params) {
    return http.get(`${request}/api/order/payment_method`, params);
}
// 易支付支付
export function toYiPay(params) {
    return http.post(`${request}/api/order/prepaid`, params);
}
// 易支付支付提醒
export function yiPayTip(params) {
    return http.get(`${request}/api/order/prepaid_remind`, params);
}
// 公告查看过
export function noticeLook(params) {
    return http.post(`${request}/api/notice/notice_look`, params);
}

// 升级接口
export function getOrderNum(params) {
    return http.post(`${request}/api/user/get_order_sum`, params);
}

// 我的市场广告数据
export function martetAnalysis(params) {
    return http.post(`${request}/api/index/martet_analysis`, params);
}

// 面向未来广告数据
export function managerAnalysis(params) {
    return http.post(`${request}/api/index/manager_analysis`, params);
}
// 余额充值记录
export function getrRechargeList(params) {
    return http.get(`${request}/api/pay/rechargeList`, params);
}

// 余额支付
export function payUseLastMoney(params) {
    return http.post(`${request}/addons/shopro/pay/prepay`, params);
}
// 代付接口
export function payUseOther(params) {
    return http.post(`${request}/api/pay/pay_df`, params);
}
// 是否有代付订单
export function isDFOrder(params) {
    return http.post(`${request}/api/pay/df_info`, params);
}
// 微信支付 /api/index/index
export function weixinPay(params) {
    return http.post2(`${request}/api/index/index`, params);
}
// 拒绝代付
export function refusePFM(params) {
    return http.post(`${request}/api/pay/reject_pay`, params);
}
// 确定代付
export function submitPFM(params) {
    return http.post(`${request}/api/pay/pay_df_submit`, params);
}
//申请成为联创伙伴
export function unionAdd(params) {
    return http.post(`${request}/api/share/unionAdd`, params);
}
//
export function scoreStock(params) {
    return http.post(`${request}/api/share/scoreStock`, params);
}


export function getGoodTitle(params) {
    return http.post(`${request}/api/order/goods_title`, params);
}

export function postOrderService(params) {
    return http.post(`${request}/api/order/order_service`, params);
}
// 代付信息
export function getDFInfo(params) {
    return http.post(`${request}/api/pay/df_phone_info`, params);
}
// 售后服务列表
export function getAfterSalesList(params) {
    return http.post(`${request}/addons/shopro/order_aftersale/index`, params);
}
// 删除售后单
export function deleteAfterSales(params) {
    return http.post(`${request}/addons/shopro/order_aftersale/delete`, params);
}
// 售后详情
export function deleteAfterSalesDetail(params) {
    return http.post(`${request}/addons/shopro/order_aftersale/detail`, params);
}
// 填写退货单号
export function inputExpressNo(params) {
    return http.post(`${request}/addons/shopro/order_aftersale/express`, params);
}
// 撤销售后订单
export function cancelAfterSales(params) {
    return http.post(`${request}/addons/shopro/order_aftersale/cancel`, params);
}
//
export function getReUserMobile(params) {
    return http.post(`${request}/api/share/re_user_mobile`, params);
}

//
export function getTeamData(params) {
    return http.post(`${request}/api/share/team_data`, params);
}


//
export function setLeader(params) {
    return http.post(`${request}/api/share/setLeader`, params);
}
// 提货券记录
export function getExaRecorde(params) {
    return http.post(`${request}/api/coupon/codeOrderDetail`, params);
}

export function scTemaData(params) {
    return http.post(`${request}/api/share/scTemaData`, params);
}


export function ListIncome(params) {
    return http.post(`${request}/api/share/ListIncome`, params);
}

export function extIncome(params) {
    return http.post(`${request}/api/share/extIncome`, params);
}
//上传图片
export function postImages5g(params){
    return http5g.postImages(`${request}/api/common/upload`,params)
}

// 多商户店铺列表接口
export function shoplist(params) {
    return http5g.post(`${request}/api/shop/list`, params);
}
// 店铺二维码
export function shopqrcode(params) {
    return http5g.post(`${request}/api/shop/qrcode`, params);
}
//单商户用户token
export function conversionUser(params) {
    return http5g.post(`${request}/api/user/mobilelogin`, params);
}
//多商户店铺详情
export function shopdetail(params) {
    return http5g.post(`${request}/api/shop/detail`, params);
}
//多商户分类列表
export function shopcategory(params) {
    return http5g.post(`${request}/api/shop/category`, params);
}
//多商户商品列表
export function shopgoodslist(params) {
    return http5g.post(`${request}/api/shop/goodslist`, params);
}
//多商户商品详情
export function shopgoodsdetail(params) {
    return http5g.post(`${request}/api/shop/goodsdetail`, params);
}
//入驻提交资料
export function shopentry(params) {
    return http5g.post(`${request}/api/shop/entry`, params);
}
//完善店铺
export function shopcomplete(params) {
    return http5g.post(`${request}/api/shop/complete`, params);
}
//店铺认证详情
export function shopauthdetail(params) {
    return http5g.post(`${request}/api/shop/authdetail`, params);
}

//独立负责人-会员列表
export function getUserList(params) {
    return http.post(`${request}/api/showdata/get_user_list`, params);
}
//独立负责人-会员详情
export function userDetail(params) {
    return http.post(`${request}/api/showdata/user_detail`, params);
}
//独立负责人-重置密码
export function resetPwd3(params) {
    return http.post(`${request}/api/showdata/reset_pwd`, params);
}
//独立负责人-禁用会员
export function disable(params) {
    return http.post(`${request}/api/showdata/disable`, params);
}



//独立负责人-会员删除实名认证
export function userdel(params) {
    return http.post(`${request}/api/showdata/userdel`, params);
}
//独立负责人-广告收益
export function lingAdvList(params) {
    return http.post(`${request}/api/showdata/ling_adv_list`, params);
}
//独立负责人-广告创收列表
export function advCsList(params) {
    return http.post(`${request}/api/showdata/adv_cs_list`, params);
}

//数据统计
export function getTeamsfee(params) {
    return http.post(`${request}/api/order/get_teams_fee`, params);
}

//广告创收记录
export function getADCFRecorde(params) {
    return http.post(`${request}/api/share/getAdvertLog`, params);
}

//独立负责人申请状态
export function dependentApplyStatus(params) {
    return http.post(`${request}/api/index/dependent_apply_status`, params);
}
// 未发放津贴
export function applyNoAllowance(params) {
    return http.post(`${request}/api/order/order_jintie`, params);
}
// 新余额弹窗
export function newMoneyTip(params) {
    return http.post(`${request}/api/share/moneyNew`, params);
}


// 独立负责人排行榜
export function getSepIncomeRank(params) {
    return http.post(`${request}/api/index/sep_income_rank`, params);
}
// 独立负责人排行榜
export function getSepIncomeRank2(params) {
    return http.post(`${request}/api/index/sep_income_rank2`, params);
}

// 独立负责人排行榜
export function getRoleList(params) {
    return http.post(`${request}/api/index/roleList`, params);
}

// 设置支付密码
export function setPassWd(params) {
    return http.post(`${request}/api/pay/passwd`, params);
}

// 发送验证码
export function smsCheck(params) {
    return http.post(`${request}/api/sms/check`, params);
}

// 发送验证码
export function ListSepIncome(params) {
    return http.post(`${request}/api/share/ListSepIncome`, params);
}

//是否会员
export function is_vip(params) {
    return http.post(`${request}/api/vip/is_vip`, params);
}
//会员权益介绍
export function vipdesc(params) {
    return http.post(`${request}/api/vip/desc`, params);
}
//会员配置明细
export function viplist(params) {
    return http.post(`${request}/api/vip/list`, params);
}
//会员到期提醒
export function exp_notice(params) {
    return http.post(`${request}/api/vip/exp_notice`, params);
}
//创建订单
export function vipcreate_order(params) {
    return http.post(`${request}/api/vip/create_order`, params);
}
//会员支付
export function vipwallet_pay(params) {
    return http.post(`${request}/api/vip/wallet_pay`, params);
}
//是否支付成功
export function vippaycheck(params) {
    return http.post(`${request}/api/pay/check`, params);
}
//好友分享-商品详情
export function friendgoodsdetail(params) {
    return http5g.post(`${request}/api/goods/goodsdetail`, params);
}
//好友分享-商品分享下单
export function friendgoodslist(params) {
    return http5g.get(`${request}/api/goods/goodslist`, params);
}
//确认下单-商品分享
export function goodsShare(params) {
    return http5g.post(`${request}/api/goods/goodsShare`, params);
}
//好友分享-二维码
export function friendviewNum(params) {
    return http5g.post(`${request}/api/goods/viewNum`, params);
}
//好友分享-打开分享页面，查看次数
export function friendqrcode(params) {
    return http5g.post(`${request}/api/goods/qrcode`, params);
}
//好友分享H5-记录已注册 未领取信息
export function waitReceive(params) {
    return http5g.post(`${request}/api/goods/waitReceive`, params);
}
//确认下单，商品领取成功
export function goodsreceive(params) {
    return http5g.post(`${request}/api/goods/receive`, params);
}
//好友分享，已领取信息
export function totalStatistics(params) {
    return http5g.post(`${request}/api/goods/totalStatistics`, params);
}
//已注册未领取，已领取，登录App
export function regin_noReceive(params) {
    return http5g.post(`${request}/api/goods/regin_noReceive`, params);
}
//好友分享-创建订单
export function addOrder5g(params) {
    return http5g.post(`${request}/api/wanlshop/order/addOrder`, params);
}
//获取大象商品分类
export function getCategory(params) {
    return http5g.post(`${request}/api/Supplier/getCategory`, params);
}
//根据大象商品分类获取商品
export function getGoodsByCategory(params) {
    return http5g.post(`${request}/api/Supplier/getGoodsByCategory`, params);
}
//从供应商商品列表获取商品详情
export function goodsDetailBySupplierList(params) {
    return http5g.post(`${request}/api/Supplier/goodsDetailBySupplierList`, params);
}
//加入选品库
export function joinToLibrary(params) {
    return http5g.post(`${request}/api/Supplier/joinToLibrary`, params);
}

//获取我的选品库的商品分类
export function getCategoryByShopId(params) {
    return http5g.post(`${request}/api/Supplier/getCategoryByShopId`, params);
}
//根据分类名称获取我的选品列表
export function getGoodsByShopCategory(params) {
    return http5g.post(`${request}/api/Supplier/getGoodsByShopCategory`, params);
}
//上下架
export function SupplierChangeStatus(params) {
    //http://www.xwl.cn/api/Supplier/changeStatus
    return http5g.post(`${request}api/Supplier/changeStatus`, params);
}
//选品库列表查看详情
export function goodsDetailByShopGoodsList(params) {
    //http://www.xwl.cn/api/Supplier/goodsDetailByShopGoodsList
    return http5g.post(`${request}/api/Supplier/goodsDetailByShopGoodsList`, params);
}
//删除选品库中的商品
export function SupplierDel(params) {
    //http://www.xwl.cn/api/Supplier/del
    return http5g.post(`${request}/api/Supplier/del`, params);
}
//添加商品
export function SupplierAdd(params) {
    //http://www.xwl.cn/api/Supplier/add
    return http5g.post(`${request}/api/Supplier/add`, params);
}

//添加商品
export function SupplierEdit(params) {
    //http://www.xwl.cn/api/Supplier/edit
    return http5g.post(`${request}/api/Supplier/edit`, params);
}

//商家订单列表
export function orderIndex(params) {
    //http://www.xwl.cn/api/Supplier/orderIndex
    return http5g.post(`${request}api/Supplier/orderIndex`, params);
}

//订单详情
export function shopOrderDetail(params) {
    //http://www.xwl.cn/api/Supplier/orderDetail
    return http5g.post(`${request}api/Supplier/orderDetail`, params);
}
//店铺信息
export function userInfo5G(params) {
    return http5g.post(`${request}/api/shop/user`, params);
}
//判断是否需要输入支付密码
export function getPayPass(params) {
    return http.post(`${request}/api/order/payPass`, params);
}
//能赚钱的5G 小店
export function goodslistUser(params) {
    return http5g.post(`${request}/api/shop/goodslistUser`, params);
}
//全部商品分类列表
export function shopcategoryAll(params) {
    return http5g.post(`${request}/api/shop/maincate`, params);
}
//我的小店  订单列表接口

export function myShopGetOrderList(params){
    return http5g.post(`${request}/api/wanlshop/order/getOrderList`,params)
}
//我的小店  订单详情接口
export function myShopgetOrderInfo(params){
    return http5g.post(`${request}/api/wanlshop/order/getOrderInfo`,params)
}
//我的小店  取消订单接口
export function myShopcancelOrder(params){
    return http5g.post(`${request}/api/wanlshop/order/cancelOrder`,params)
}
//我的小店  确认收货订单接口
export function myShopconfirmOrder(params){
    return http5g.post(`${request}/api/wanlshop/order/confirmOrder`,params)
}
//我的小店  申请退货接口
export function myShopaddApply(params){
    return http5g.post(`${request}/api/wanlshop/refund/addApply`,params)
}
//发送人群-选项
export function renqun(params){
    return http5g.post(`${request}/api/tool/renqun`,params)
}
//
//发送商品列表
export function sendGoods(params){
    return http5g.post(`${request}/api/tool/goods`,params)
}
//私域流量助手
export function liuliang(params){
    return http5g.post(`${request}/api/tool/liuliang`,params)
}
export function qrcodegoods(params){
    return http5g.post(`${request}/api/shop/qrcodegoods`,params)
}
export function takeQuestion(params){
    //https://online5g.bigchun.com/api/question/takeQuestion
    return http5g.post(`${request}/api/question/takeQuestion`,params)
}
export function getpayInfo(params){
    //https://online5g.bigchun.com/api/question/takeQuestion
    return http5g.post(`${request}/wechatPay/pay`,params)
}

export function cancelPayMoneyOrder(params){
    //https://online5g.bigchun.com/api/question/takeQuestion
    return http5g.post(`${request}/wechatPay/cancelPay`,params)
}

export function get_back_url(params){
    //https://online5g.bigchun.com/api/question/takeQuestion
    return http5g.post(`${request}/api/user/get_back_url`,params)
}
export function payment_wechat(params){
    //https://online5g.bigchun.com/api/question/takeQuestion
    return http5g.post(`${request}/api/wanlshop/order/payment`,params)
}

//好友分享-创建订单-微信支付
export function addOrder5gweixin(params) {
    return http5g.post(`${request}/api/wanlshop/order/addOrder`, params);
}
//http5g是https://online5g.bigchun.com/index.php 域名接口
//http是https://zhongjunf.bigchun.com域名接口

